package cn.gok.springdemo;

/**
 * @Author: chenfan
 * @Description:
 */
public class User {
    private String userName = "zhagnsan";
    private int age = 19;
    private Dog dog;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Dog getDog() {
        return dog;
    }

    public void setDog(Dog dog) {
        this.dog = dog;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", age=" + age +
                ", dog=" + dog +
                '}';
    }
}
